<input type="hidden" id="exportBtn" shiro:hasPermission="CWGL_SHDZ_DFDK_DC" value="1" />

<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<div class="widget-head am-cf">
					<div class="widget-title  am-cf">第三方代付代扣对账</div>
				</div>
				<form id="dfdkCheckingForm" class="am-form am-form-horizontal" method="post" >
					<div class="am-form-group">
						<label class="am-u-sm-6 am-u-lg-2 am-form-label">输入商户订单号：</label>
						<div class="am-u-sm-12 am-u-lg-2">
							<input type="text" placeholder="商户订单号" th:value="${ serial_no }" id="serial_no"  class="form-datetime-lang am-form-field" />
						</div>
						<label class="am-u-sm-6 am-u-lg-1 am-form-label">业务类型：</label>
						<div class="am-u-sm-12 am-u-lg-2">
							<select data-am-selected="{btnSize: 'sm'}" id="busType">
								<option value="">全部</option>
								<option th:each="type : ${OrderBusType}" th:value="${type.name()}" th:utext="${type.desc()}"></option>
							</select>
						</div>
						<label class="am-u-sm-6 am-u-lg-2 am-form-label">平台记录交易状态：</label>
						<div class="am-u-sm-12 am-u-lg-2    am-u-end">
							<select data-am-selected="{btnSize: 'sm'}" id="OrderStatus">
								<option value="">全部</option>
								<option th:each="status : ${OrderStatus}" th:value="${status.name()}" th:utext="${status.desc2()}"></option>
							</select>
						</div>
					</div>
					<div class="am-form-group">
						<label class="am-u-sm-6 am-u-lg-2 am-form-label">平台记录交易时间：</label>
						<div class="am-u-sm-12 am-u-lg-2">
							<input type="text" placeholder="开始时间" th:value="${startTime}" id="startTime"  class="form-datetime-lang am-form-field" />
						</div>
						<div class="am-u-sm-12 am-u-lg-2 am-u-end">
							<input type="text" placeholder="结束时间" th:value="${endTime}" id="endTime"  class="form-datetime-lang am-form-field" />
						</div>
						<label class="am-u-sm-6 am-u-lg-1 am-form-label">对账结果：</label>
						<div class="am-u-sm-12 am-u-lg-2    am-u-end">
							<select data-am-selected="{btnSize: 'sm'}" id="checkStatus">
								<option value="">全部</option>
								<option th:value="success" th:utext="正确" th:checked="${ checkStatus == 1}"></option>
								<option th:value="failure" th:utext="有差错" th:checked="${ checkStatus != 1}"></option>
							</select>
						</div>
						<button type="button" class="am-btn am-btn-secondary " onclick="search()">查询</button>
					</div>
				</form>
				
				<div class="widget-body  am-fr">
					<!-- 表格 -->
					<div class="am-u-sm-12">
							<div class="widget-main padding-6 no-padding-left no-padding-right">
								<div id="dtGridContainer" class="dlshouwen-grid-container" style="overflow-x:auto; width:1500px;"></div>
								<div id="dtGridToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
							</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" th:src="@{/customer/checking/tonglian_checking.js}"/>

